package cn.iocoder.yudao.module.system.controller.admin.gugu.gugu;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 全球QS世界大学排名查询请求VO
 */
@Schema(description = "全球QS世界大学排名查询请求")
@Data
public class QsRankingQueryReqVO {

    @Schema(description = "学校名称，支持模糊搜索，不传则返回所有数据", example = "北京大学")
    private String name;

    @Schema(description = "分页参数，第几页", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "页码不能为空")
    private Integer pageindex = 1;

    @Schema(description = "分页参数，每页条数，取值范围在 1 ~ 20 之间（含）", requiredMode = Schema.RequiredMode.REQUIRED, example = "10")
    @NotNull(message = "每页大小不能为空")
    private Integer pagesize = 10;
}
